package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;

/**
 * 火化证打印历史记录表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "CremationCertificatePrintingHistoryEntity", name = "cremation_certificate_printing_history", comment = "火化证打印历史记录表")
public class CremationCertificatePrintingHistoryEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 逝者家属外键
     */
    @MyColumn(value = "memberId", name = "member_id", comment = "逝者家属外键")
    private Integer memberId;

    /**
     * 家属姓名
     */
    @MyColumn(value = "memberName", name = "member_name", comment = "家属姓名")
    private String memberName;

    /**
     * 家属性别编码
     */
    @MyColumn(value = "memberGenderCode", name = "member_gender_code", comment = "家属性别编码")
    private Integer memberGenderCode;

    /**
     * 证件类型编码
     */
    @MyColumn(value = "certificateTypeCode", name = "certificate_type_code", comment = "证件类型编码")
    private Integer certificateTypeCode;

    /**
     * 证件号码
     */
    @MyColumn(value = "certificateNo", name = "certificate_no", comment = "证件号码")
    private String certificateNo;

    /**
     * 与逝者关系文本
     */
    @MyColumn(value = "memberRelation", name = "member_relation", comment = "与逝者关系文本")
    private String memberRelation;

    /**
     * 手机号码
     */
    @MyColumn(value = "mobilePhone", name = "mobile_phone", comment = "手机号码")
    private String mobilePhone;

    /**
     * 其他电话
     */
    @MyColumn(value = "otherPhone", name = "other_phone", comment = "其他电话")
    private String otherPhone;

    /**
     * 联系地址
     */
    @MyColumn(value = "address", name = "address", comment = "联系地址")
    private String address;

    /**
     * 原火化证号
     */
    @MyColumn(value = "cremationOldNo", name = "cremation_old_no", comment = "原火化证号")
    private String cremationOldNo;

    /**
     * 新火化证号
     */
    @MyColumn(value = "cremationNewNo", name = "cremation_new_no", comment = "新火化证号")
    private String cremationNewNo;

    /**
     * 操作类型编码
     */
    @MyColumn(value = "operationTypeCode", name = "operation_type_code", comment = "操作类型编码", required = true)
    private Integer operationTypeCode;

    /**
     * 操作时间
     */
    @MyColumn(value = "operationTime", name = "operation_time", comment = "操作时间", required = true)
    private Date operationTime;

    /**
     * 操作原因
     */
    @MyColumn(value = "operationCause", name = "operation_cause", comment = "操作原因")
    private String operationCause;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public String getBusinessCode() {
        return businessCode;
    }

    public CremationCertificatePrintingHistoryEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public CremationCertificatePrintingHistoryEntity setMemberId(Integer memberId) {
        this.memberId = memberId;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public CremationCertificatePrintingHistoryEntity setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }

    public Integer getMemberGenderCode() {
        return memberGenderCode;
    }

    public CremationCertificatePrintingHistoryEntity setMemberGenderCode(Integer memberGenderCode) {
        this.memberGenderCode = memberGenderCode;
        return this;
    }

    public Integer getCertificateTypeCode() {
        return certificateTypeCode;
    }

    public CremationCertificatePrintingHistoryEntity setCertificateTypeCode(Integer certificateTypeCode) {
        this.certificateTypeCode = certificateTypeCode;
        return this;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public CremationCertificatePrintingHistoryEntity setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
        return this;
    }

    public String getMemberRelation() {
        return memberRelation;
    }

    public CremationCertificatePrintingHistoryEntity setMemberRelation(String memberRelation) {
        this.memberRelation = memberRelation;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public CremationCertificatePrintingHistoryEntity setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public CremationCertificatePrintingHistoryEntity setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public CremationCertificatePrintingHistoryEntity setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getCremationOldNo() {
        return cremationOldNo;
    }

    public CremationCertificatePrintingHistoryEntity setCremationOldNo(String cremationOldNo) {
        this.cremationOldNo = cremationOldNo;
        return this;
    }

    public String getCremationNewNo() {
        return cremationNewNo;
    }

    public CremationCertificatePrintingHistoryEntity setCremationNewNo(String cremationNewNo) {
        this.cremationNewNo = cremationNewNo;
        return this;
    }

    public Integer getOperationTypeCode() {
        return operationTypeCode;
    }

    public CremationCertificatePrintingHistoryEntity setOperationTypeCode(Integer operationTypeCode) {
        this.operationTypeCode = operationTypeCode;
        return this;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public CremationCertificatePrintingHistoryEntity setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
        return this;
    }

    public String getOperationCause() {
        return operationCause;
    }

    public CremationCertificatePrintingHistoryEntity setOperationCause(String operationCause) {
        this.operationCause = operationCause;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public CremationCertificatePrintingHistoryEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}